<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>按钮菜单</title>
		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
	</head>
	<body>
		<!--
        	作者：赵星宇
        	时间：2019-07-26
        	描述：学习按钮菜单
        -->
        <div class="container">
        	                     <!--向上-->
        	<div class="btn-group dropup">
        		<button type="button" class="btn btn-info btn-lg">分列式按钮下拉菜单</button>
        		<button type="button" class="btn btn-info btn-lg dropdown-toggle" data-toggle="dropdown">
        			<span class="caret"></span>
        		</button>
        		<ul class="dropdown-menu" role="menu">
        			<li><a href="#">1</a></li>
        			<li><a href="#">2</a></li>
        			<li><a href="#">3</a></li>
        		</ul>
        	</div>
        	
        	<div class="btn-group">
        		<button type="button" class="btn btn-info ">分列式按钮下拉菜单</button>
        		<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown">
        			<span class="caret"></span>
        		</button>
        		<ul class="dropdown-menu" role="menu">
        			<li><a href="#">1</a></li>
        			<li><a href="#">2</a></li>
        			<li><a href="#">3</a></li>
        		</ul>
        	</div>
        	
        	<div class="btn-group">
        		<button type="button" class="btn btn-info btn-sm">分列式按钮下拉菜单</button>
        		<button type="button" class="btn btn-info btn-sm dropdown-toggle" data-toggle="dropdown">
        			<span class="caret"></span>
        		</button>
        		<ul class="dropdown-menu" role="menu">
        			<li><a href="#">1</a></li>
        			<li><a href="#">2</a></li>
        			<li><a href="#">3</a></li>
        		</ul>
        	</div>
        	
        	<div class="btn-group">
        		<button type="button" class="btn btn-info btn-xs">分列式按钮下拉菜单</button>
        		<button type="button" class="btn btn-info btn-xs dropdown-toggle" data-toggle="dropdown">
        			<span class="caret"></span>
        		</button>
        		<ul class="dropdown-menu" role="menu">
        			<li><a href="#">1</a></li>
        			<li><a href="#">2</a></li>
        			<li><a href="#">3</a></li>
        		</ul>
        	</div>
        </div>
        <script src="js/jquery-2.1.1.min.js" type="text/javascript" charset="utf-8"></script>
        <script src="js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
